package com.diy.sigmund.diyorder.mapper;

import com.diy.sigmund.diyorder.entity.po.OdSeckillOrder;
import com.diy.sigmund.diyorder.entity.query.CountByCommodityIdAndPhoneQuery;
import org.apache.ibatis.annotations.Param;

/**
 * OdSeckillOrderMapper继承基类
 */
public interface OdSeckillOrderMapper extends MyBatisBaseDao<OdSeckillOrder, String> {

    int countById(@Param("id") String id);

    int countByCommodityIdAndPhone(CountByCommodityIdAndPhoneQuery countByCommodityIdAndPhoneQuery);
}